package number;

import com.xishu.util.BigDecimalUtil;
import org.junit.Test;

import java.math.BigDecimal;

public class NumberRest {

    @Test
    public void test() {
        BigDecimal b = BigDecimal.valueOf(1000000.777d);
        String format = BigDecimalUtil.format(b);
        System.out.println("format = " + format);
    }
}
